package com.h.blog.pojo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class AddBlogRequest {
    @NotNull(message = "标题不能为空")
    private String title;
    @NotNull(message = "正文不能为空")
    private String content;
    @NotNull(message = "用户id不能为空")
    private Integer userId;
}
